home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
cool
/
ge_cool.lha
/
GE_COOL2.1
/
Makeexamplestargs
< prev
next >
Wrap
Text File
|
1992-06-12
|
2KB
|
74 lines
#
# Copyright (C) 1991 Texa Instruments Incorporated.
#
# Permission is granted to any individual or institution to use, copy, modify,
# and distribute this software, provided that this complete copyright and
# permission notice is maintained, intact, in all copies and supporting
# documentation.
#
# Texas Instruments Incorporated provides this software "as is" without
# express or implied warranty.
#
ERROR = 2>/dev/null
SUMMARIZE = cat
.SUFFIXES: .C .o .out .x .i
.C.o:
$(CC) $(CCFLAGS) $(DEFINES) $(INCLUDES) $*.C
.o.x: $*.o
$(PURIFY) $(CC) -o $*.x $*.o $(LIBRARYS)
.x.out: $*.x
$*.x > $*.out $(ERROR)
summary: $(RESULTS)
@$(ECHO) "======================="
- @for RESULT in $(RESULTS); do \
$(SUMMARIZE) $$RESULT;\
done
@$(ECHO) "======================="
$(RESULTS): $(PROGRAMS)
$(PROGRAMS): $(OBJECTS)
all: summary
allclean clean:
- $(RM) $(OBJECTS) $(PROGRAMS) $(RESULTS) $(BACKUPS) *.i
alldepend depend: $(SOURCES) $(HEADERS)
$(MKDEPEND) $(DEFINES) $(INCLUDES) $(SOURCES)
allinstall install:
alllink link:
cleanalltests:
- $(RM) $(OBJECTS) $(PROGRAMS) $(RESULTS) $(BACKUPS)
cleantests:
- $(RM) $(OBJECTS) $(PROGRAMS) $(RESULTS) $(BACKUPS)
# use these rules for debugging inside of CenterLine:
.C.i:
@$(BINDIR)/cpp \
$(DEFINES) \
-undef -B -Dc_plusplus=1 -D__cplusplus=1 -Dsun -DBSD -Dsparc -Dunix \
-I/home/oceana/software/CenterLine/c++_1.1.0-r1.0/sun4-40/include \
$(INCLUDES) \
$*.C >! $*.i
#load $*.i
load_lib load_libs load_libraries:
#load -g $(LIBRARYS)
load_obj load_objs load_objects:
#load -g $(INCLUDES) $(OBJECTS) $(LIBRARYS)